enum SearchMode {
  startswith, contains, endswith
}